package com.neuedu.studentmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.neuedu.studentmanage.entity.Student;

@Mapper
@Repository
public interface StudentMapper extends BaseMapper<Student> {

	
	/**
	 * 学生登录
	 * @param student
	 * @return
	 */
	public Student login(Student student);
	
	/**
	 * 学生信息查询，根据主键查询出一名学生的信息
	 * 
	 * @param stuId
	 * @return
	 */
	public Student findById(Integer stuId);
	
}
